﻿namespace AbpZeroTemplate.Dfs
{
    public abstract class BaseDfsFile
    {
        /// <summary>文件名
        /// </summary>
        public string Name { get; set; }

        /// <summary>扩展名
        /// </summary>
        public string Extension { get; set; }

        /// <summary>下载的Mime名称
        /// </summary>
        public string Mime { get; set; }

        public virtual string GetFileName()
        {
            return $"{Name}{Extension}";
        }

    }
}
